/** *******************************************************************
 * FlexDatabaseManager
 * Copyright (c) 2008 Jonnie Spratley. All Rights Reserved.
 * @author  Jonnie Spratley
 * @contact jonniespratley@gmail.com
 * @internal
 ******************************************************************* */
package com.jonniespratley.flexdatabasemanager.events.databases
{
	import com.jonniespratley.flexdatabasemanager.factories.SequenceChainEvent;
	import com.jonniespratley.flexdatabasemanager.vo.DatabaseVO;
	
	import flash.events.Event;
		
	public final class SelectedDatabaseEvent extends SequenceChainEvent
	{
		public static const SELECTED_DATABASE_EVENT:String = "SELECTED_DATABASE_EVENT";

		public var aDatabase:DatabaseVO;
	
		public function SelectedDatabaseEvent( aDatabase:DatabaseVO )
		{
			super( SELECTED_DATABASE_EVENT );
			this.aDatabase = aDatabase;
		}
		
		override public function clone():Event
		{
			return new SelectedDatabaseEvent( aDatabase );
		}
	}
}